
<!-- 插槽的使用 -->
<template>
    <div>
        <button> <slot></slot> </button>
        <h1>
            <slot name="title"></slot>
        </h1>
        <h2>
            <slot name="sub-title"></slot>
        </h2>
        <p>
            <slot name="article"></slot>
        </p>
    </div>
</template>

<script>
export default {
    name: "MyBtn",
    // props: ["test"]
}
</script>


